package cn.edu.usst.cs.goldfish.booking.meetingroom.handler;

public class GoldfishBookingException extends RuntimeException {
    public GoldfishBookingException() {
    }

    public GoldfishBookingException(String message) {
        super(message);
    }

    public GoldfishBookingException(String message, Throwable cause) {
        super(message, cause);
    }

    public GoldfishBookingException(Throwable cause) {
        super(cause);
    }

    public GoldfishBookingException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
    public static void build(String message){
        throw new GoldfishBookingException(message);
    }
    public static void build(String message, Throwable cause){
        throw new GoldfishBookingException(message, cause);
    }
}
